home *** CD-ROM | disk | FTP | other *** search
- global gMasterData, gNotesList, gMeasureQuestions, gHistoryPrintList
-
- on prepareMovie
- setUserArea(gMasterData, #mirror)
- initFields()
- set the keyDownScript to "quitCatcher"
- cursor(0)
- end
-
- on stopMovie
- end
-
- on initFields
- set vEmptyList to ["field 1", "field 2", "field 3", "field 4"]
- repeat with X in vEmptyList
- set the text of member X to " "
- set the textFont of member X to "Palatino"
- set the textSize of member X to 14
- set the text of member X to EMPTY
- end repeat
- if not voidp(gNotesList) then
- set the text of member "field 1" to the means of gNotesList
- end if
- if not voidp(gHistoryPrintList) then
- set the text of member "field 2" to gHistoryPrintList
- end if
- if not voidp(gMeasureQuestions) then
- set theScore to the score of gMeasureQuestions
- case 1 of
- (theScore > 35):
- set the text of member "field 3" to "I scored high on the Measure of Strength; I am a confident decision maker."
- (theScore > 20):
- set the text of member "field 3" to "I scored in the middle range on the Measure of Strength; I have some confidence in my decision-making abilities."
- otherwise:
- set the text of member "field 3" to "My confidence in my decision-making skills is low; I may want to work on my decision-making abilities."
- end case
- end if
- if not voidp(gNotesList) then
- set the text of member "field 4" to the CD of gNotesList
- end if
- end
-